export class UserInfo {
	private id: number = 0;
	private username: string = '';
	private email: string = '';

	constructor(respData: any){
		this.init(respData);
	}

	public init(respData: any){
		this.id = respData.id;
		this.username = respData.username;
		this.email = respData.email;
	}

	public getId(): number{
		return this.id;
	}

	public getUsername(): string{
		return this.username;
	}

	public getEmail(): string{
		return this.email;
	}

}